package com.example.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.common.R;
import com.example.dto.SetmealDto;
import com.example.entity.Dish;
import com.example.entity.Setmeal;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 套餐 服务类
 * </p>
 *
 * @author lw
 * @since 2023-01-31
 */
public interface SetmealService extends IService<Setmeal> {

    R<String> saveAndDish(SetmealDto setmealDto);

    R<Page> getPage(int page, int pageSize, String name);

    R<String> delete(List<Long> ids);

    R<List<Setmeal>> findOne(Setmeal setmeal);
}
